package edu.zju.gis.dbfg.model.util;

public class StatisticIndex {
    private final static String gdIndecies = "0110,0120,0750,0133";  //耕地指标
    private final static String slIndecies = "0310,0320,0330,0340,0350,0360,0370";  //森林指标
    private final static String lhIndecies = "0100,0300,0110,0120"; //绿化覆盖指标

    public static String[] getIndecies(String category) {
        switch (category) {
            case "GD":  //耕地
                return gdIndecies.split(",");
            case "SL":  //森林
                return slIndecies.split(",");
            case "LH":  //绿化
                return lhIndecies.split(",");
            case "all":
                return null;
            default:  //如果没有指定统计指标类型
                return category.split(",");
        }
    }
}
